@layout("/common/_container.html",{js:["/assets/modular/system/dict/dict_edit.js"]}){
<div class="row">
    <form action="${ctxPath}/dict/changeTextDict" method="post">
        <h1 style="color:red">{}花括号内的内容不要更改,<??>这两个符号不要删除</h1>
        <table class="layui-table" style="width:100%">
            <thead>
                <th>标题</th>
                <th>内容</th>
                <th>标题</th>
                <th>内容</th>
            </thead>
            @for(dict in textList){
            ${(dictLP.index-1)%2==0?"<tr>":""}
                <td><label class="layui-form-label">${dict.name}</label></td>
                <td>
                    <textarea class="layui-textarea" name="dict-${dict.dictId}" id="dict-${dict.dictId}" cols="50" rows="15">${dict.code}</textarea>
                </td>
            ${(dictLP.index)%2==0?"</tr>":""}
            @}
            <tr>
                <td colspan="2" style="">
                    <input type="submit" class="layui-btn" value="提交更改">
                </td>
            </tr>
        </thead>

    </form>
</div>
@}
